home *** CD-ROM | disk | FTP | other *** search
- Did you ever want to boot into Unix from AmigaDOS without needing to reboot,
- waiting for the bootmenu, selecting that partition... ??
-
- Well here we go, I took the boot sources from /usr/sys/amiga/boot, and made
- them use DOS instead of device-IO. The assembler files were converted from
- SGS syntax into MIT syntax, which will probably shock any non-gcc users;-))
- The result is a simple but useful program called unix_boot, that can be
- used to boot from any ELF-kernel file you'd use on floppy or your harddisk.
-
- Syntax:
- unix_boot
- -> will boot from a file called `unix' in current dir, and will bind
- to best suited address.
- or
- unix_boot my_favorite_kernel
- -> will boot from a file called `my_favorite_kernel', and will bind
- to best suited address.
- or
- unix_boot my_weird_kernel 0x074000000
- -> will boot from a file called `my_weird_kernel' and will bind to
- absolute address 0x074000000, no matter whether you really got
- RAM there or not, so you probably should know what your doing ;-))
-
- NOTE: you can't bind to an address in CHIP ram, this is verified.
- NOTE2: as you see, you need a `normal' kernel file, unix_boot doesn't look
- at any boot-images on your harddisk(s)! Just copy /unix over to
- AmigaDOS, that will do.
-
- I included the modified sources, keeping Commo's Copyright header. Since
- that header doesn't inhibit distribution of the source, I hope it's ok to
- include those sources here. Since AT&T's header does inhibit distribution
- of their files (grmbl), I didn't include the needed header files that define
- the ELF headers. Please copy those headers over from your SVR4 partition
- into an include directory in the src directory. This is described in
- src/README.BEFORE.BUILD!, just for those that normally don't read README
- files, but then, you probably didn't read this file either...
-
- Good luck!
-
- -Markus
-
- Questions? You can reach me as "Markus Wild" <wild@nessie.cs.id.ethz.ch>
-